<%@ page language="C#" autoeventwireup="true" inherits="SendSms, App_Web_supvbhfv" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        #TextBox1
        {
            width: 540px;
        }
        #TextBox1
        {
            width: 175px;
        }
        #TextBox1
        {
            width: 680px;
        }
        #TextBox1
        {
            width: 680px;
        }
        #TextBox1
        {
            width: 175px;
        }
        #TextBox1
        {
            width: 324px;
        }
        #TextBox1
        {
            width: 269px;
        }
        #TextBox1
        {
            width: 855px;
            height: 48px;
        }
    </style>

    <script type="text/javascript">
        function LimtCharacters(txtMsg, CharLength, indicator) {
            chars = txtMsg.value.length;
            document.getElementById(indicator).innerHTML = CharLength - chars;
            if (chars > CharLength) {
                txtMsg.value = txtMsg.value.substring(0, CharLength);
                alert(' messages are limited only 160 char Allow  Only');
            }
        }
</script>
</head>
<body>
    <form id="form1" runat="server">
   <div class="row" >	
					<div class="col-lg-12">
                        <div class="panel panel-primary grid_height" 
                            style="height:815px; overflow:scroll" >
                            <div class="panel-heading">
                                <h3 class="panel-title"><i class="fa fa-list fa-fw"></i>Upload Excel Template</h3>
                              <%--  <p class="panel-title">Message :<asp:TextBox ID="TextBox1" runat="server" 
                                        Height="46px" TextMode="MultiLine" Width="701px" MaxLength="160"></asp:TextBox>
                                </p>--%>

                                <div style="font-family:Verdana; font-size:13px">
Number of Characters Left:
<label id="lblcount" style="background-color:#E2EEF1;color:Red;font-weight:bold;">160</label><br/>
<textarea   onkeyup="LimtCharacters(this,160,'lblcount');" id="TextBox1" runat="server"></textarea>
</div>
                            </div>
                            
                           
                             <div class="panel-body"  > 
                             <div class="table-responsive"  >
                            
                            <center>
                          <div class="col-lg-12">
                              <asp:HyperLink ID="HyperLink2" runat="server" 
                    NavigateUrl="~/Downloads/Phoneno.csv"> Download Master Template</asp:HyperLink>
                          
                          </div></center>
                            
                             <div class="col-lg-12" style="margin-top:15px; top: 0px; left: 0px;">
							  <ol class="breadcrumb"><li><b>Upload Masters  templete</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="msg" runat="server" Font-Bold="False" ForeColor="#FF3300"></asp:Label></li></ol>
							  </div>
                             <div class="col-lg-8">
                             <div  class="col-lg-4">
                              <asp:FileUpload ID="FileUpload1" runat="server"  />
                              </div>
                               <div  class="col-lg-4">
                              <asp:Button ID="UploadExl" runat="server" Text="Upload"  OnClick="UploadExl_Click" onclientclick="return validate()"
        type="button" class="btn btn-success " Width="171px" /><i class="fa fa-plus;">&nbsp;</i><asp:Button 
                                       ID="Button1" runat="server" onclick="Button1_Click" Text="Send SMS" 
                                       Width="177px" />
                                 </div>
                             </div>
                             
    
    <asp:GridView ID="GridView1" runat="server" class="table table-bordered table-hover table-striped" >
      
    </asp:GridView>
                               
    
    
                        
                                             
                                            </div>  
                                             </div>
                                            </div>
                                            </div>
                                           <br />
                                 <br />
                                 <br />
                                 <br />                        
                               <center>
            
                                   <i class="fa fa-plus;"></i>
       
                                   <i  class="fa fa-trash-o;"></i>
            </center>
                          
                      
                       
                    </div>
    </form>
</body>
</html>
